using System;
using Microsoft.SPOT;

namespace OST.Shared.Interfaces
{
    /// <summary>
    /// represents an interface to provide a central instance for <see cref="IAnemometer"/>
    /// </summary>
    /// <remarks>the anemometer-provider initiaties himself decoupled from all other providers</remarks>
    public interface IAnemometerProvider : INotifyPropertyChanged
    {
        /// <summary>
        /// actual anemometer instance
        /// </summary>
        IAnemometer AnemometerInstance { get; }

        /// <summary>
        /// flag, checks if a anemometer-instance is available
        /// </summary>
        bool HasInstance { get; }

    }
}
